home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gxcid.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  2.0 KB  |  53 lines

  1. /* Copyright (C) 2000 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gxcid.h,v 1.3 2000/09/19 19:00:34 lpd Exp $ */
  20. /* Common data definitions for CMaps and CID-keyed fonts */
  21.  
  22. #ifndef gxcid_INCLUDED
  23. #  define gxcid_INCLUDED
  24.  
  25. #include "gsstype.h"
  26.  
  27. /* Define the structure for CIDSystemInfo. */
  28. typedef struct gs_cid_system_info_s {
  29.     gs_const_string Registry;
  30.     gs_const_string Ordering;
  31.     int Supplement;
  32. } gs_cid_system_info_t;
  33. extern_st(st_cid_system_info);
  34. extern_st(st_cid_system_info_element);
  35. #define public_st_cid_system_info() /* in gsfcid.c */\
  36.   gs_public_st_const_strings2(st_cid_system_info, gs_cid_system_info_t,\
  37.     "gs_cid_system_info_t", cid_si_enum_ptrs, cid_si_reloc_ptrs,\
  38.     Registry, Ordering)
  39. #define st_cid_system_info_num_ptrs 2
  40. #define public_st_cid_system_info_element() /* in gsfcid.c */\
  41.   gs_public_st_element(st_cid_system_info_element, gs_cid_system_info_t,\
  42.     "gs_cid_system_info_t[]", cid_si_elt_enum_ptrs, cid_si_elt_reloc_ptrs,\
  43.     st_cid_system_info)
  44.  
  45. /*
  46.  * The CIDSystemInfo of a CMap may be null.  We represent this by setting
  47.  * Registry and Ordering to empty strings, and Supplement to 0.
  48.  */
  49. void cid_system_info_set_null(P1(gs_cid_system_info_t *));
  50. bool cid_system_info_is_null(P1(const gs_cid_system_info_t *));
  51.  
  52. #endif /* gxcid_INCLUDED */
  53.